class DocumentsController < ApplicationController
  layout "base.html"

  def show
    @html_title = '文档'
    @html_description = '文档'
    @articles = Article.paginate :page => params[:log_page_number], :per_page => 5
    @reships = Reship.paginate :page => params[:reship_page_number], :per_page => 5
    @valleyers = Valleyer.paginate :conditions => ["albums_count != ?", 0],
      :page => params[:album_page_number], :per_page => 5
    @documet_types = default_category + DocumetType.all_valleyer_id_is_not_null_documet_types
  end

  def authorize

  end
end
